import {
    request
} from "./index";

/** modules begin */
const initiator = 'bargainInitiator/'; // 管理优惠券活动模块


// 我的砍价列表
export const queryMybargainList = (data) => {
    return request(initiator + 'bargainInitiatorMyList', data);
}

// 添加砍价记录
export const addBargainRecord = (data) => {
    return request(initiator + 'launchMyBargainInitiator', data);
}

// 砍价详情
export const queryBargainDetail = (data) => {
    return request(initiator + 'bargainInitiatorDetail', data);
}

// 砍价下单
export const addBargainOrder = (data) => {
    return request(initiator + 'submitOrder', data);
}